import random

print '<users>'
names = ['adam', 'bob', 'carl','david','edmund','frank','gerry','hans','icabod','jerzy','kurt','lance','michael','norman','orville','pete','ruben','stacey']

for i in range(len(names)):
  print '<user>'
  print '<id>',i,'</id>'
  print '<username>', names[i], '</username>'
  if i % 2 == 0:
      print '<icon>','images/friel_icon.png','</icon>'
  else:
      print '<icon>','images/kurt_icon.png','</icon>'          
  print '<location>'
  print '<lat>',random.randint(30,50),'</lat>'
  print '<lon>',random.randint(-110,-80),'</lon>'
  print '<alt>0</alt>'
  print '</location>'      
  print '</user>'
print '</users>'
